div {
  font-family: 'Times New Roman', Times, serif;
  position: relative;
  font-size: 20vmin;
  line-height: 40vmin;
  margin: 30vmin auto;
  text-align: center;
  text-shadow: 4px 4px 1px #333;
}
div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: linear-gradient(-45deg, #fff 0%, #fff 25%, transparent 25%, transparent 50%, #fff 50%, #fff 75%, transparent 75%, transparent 100%);
  background-size: 6px 6px;
}
div::after {
  position: absolute;
  content: attr(data-name);
  top: -4px;
  left: -2px;
  right: 6px;
  bottom: 6px;
  color: #333;
  z-index: 2;
  text-shadow: 3px 3px #fff;
}
